IMPORTANT
The
ATSUAttributeTag type also defines text layout attribute tag constants; see
Text Layout Attribute Tag Constants for a description of these tags. Note that if you pass text layout attribute tags to functions that get, set, or remove style run attribute values, the function will return the result code
kATSUInvalidAttributeTagErr.
The following constant descriptions assume horizontal text. If you are setting or getting the style run attribute of vertical text, you should interpret these values accordingly.
enum {
kATSUQDBoldfaceTag = 256L,
kATSUQDItalicTag = 257L,
kATSUQDUnderlineTag = 258L,
kATSUQDCondensedTag = 259L,
kATSUQDExtendedTag = 260L,
kATSUFontTag = 261L,
kATSUSizeTag = 262L,
kATSUColorTag = 263L,
kATSULanguageTag = 264L,
kATSUVerticalCharacterTag = 265L,
kATSUImposeWidthTag = 266L,
kATSUBeforeWithStreamShiftTag = 267L,
kATSUAfterWithStreamShiftTag = 268L,
kATSUCrossStreamShiftTag = 269L,
kATSUTrackingTag = 270L,
kATSUHangingInhibitFactorTag = 271L,
kATSUKerningInhibitFactorTag = 272L,
kATSUDecompositionInhibitFactorTag = 273L,
kATSUBaselineClassTag = 274L,
kATSUPriorityJustOverrideTag = 275L,
kATSUNoLigatureSplitTag = 276L,
kATSUNoCaretAngleTag = 277L,
kATSUSuppressCrossKerningTag = 278L,
kATSUNoOpticalAlignmentTag = 279L,
kATSUForceHangingTag = 280L,
kATSUNoSpecialJustificationTag = 281L,
kATSUStyleTextLocatorTag = 282L,
kATSUMaxStyleTag = 283L,
kATSUMaxATSUITagValue = 65535L
};
typedef UInt32 ATSUAttributeTag;